.subway-detail-header {
  height: 5.7rem;
  padding: 0.2rem 0.32rem;
  margin-bottom: 1rem;
  background: linear-gradient(#222a8c 70%, #fff);

  .station-desc {
    padding: 0.34rem 0.32rem;
    margin-bottom: 0.2rem;
    background-color: rgba(0, 0, 0, 0.08);

    &-item {
      display: flex;
      justify-content: space-between;
      font-size: 0.32rem;
      color: #fff;

      &:first-child {
        margin-bottom: 0.28rem;
      }

      & > span {
        line-height: 0.44rem;
      }
    }

    .switch-direction {
      display: flex;
      align-items: center;

      img {
        width: 0.4rem;
        margin-right: 0.12rem;
      }
    }
  }

  .station-card {
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.08);
    padding: 0.32rem 0.32rem 0.34rem 0.32rem;
    background-color: #fff;
    border-radius: 8px;
  }

  .station-now {
    margin-bottom: 0.2rem;

    &-label {
      margin-bottom: 0.04rem;
      font-size: 0.28rem;
      line-height: 0.4rem;
      color: #383a3d;
    }

    &-name {
      font-size: 0.36rem;
      font-weight: 500;
      line-height: 0.5rem;
      color: #36383d;
    }

    &-desc {
      display: flex;
      justify-content: space-between;

      .subyway-time {
        display: flex;
        align-self: center;

        & > div:first-child {
          margin-right: 0.16rem;
        }
      }
    }

    .subyway-time-label {
      display: inline-block;
      width: 0.32rem;
      font-size: 0.24rem;
      line-height: 0.32rem;
      text-align: center;
      border-radius: 4px;

      &:first-child {
        margin-right: 0.04rem;
      }

      &.green {
        color: #36c293;
        background-color: rgba(54, 194, 147, 0.1)
      }

      &.red {
        color: #f05c51;
        background-color: rgba(240, 92, 81, 0.1);
      }
    }

    .subyway-time-value {
      font-size: 0.28rem;
      color: #5d677a;
    }
  }

  .postion-info {
    display: flex;
    justify-content: space-between;
    padding-right: 0.66rem;
    padding-left: 0.66rem;

    &-item {
      span {
        display: block;
      }

      &-desc {
        font-size: 0.24rem;
        color: #6c717a;
      }

      &-desc:first-child {
        margin-bottom: 0.08rem;
      }

      &-time {
        display: flex;
        align-items: baseline;
        font-size: 0.48rem;
        line-height: 0.66rem;
        color: #383a3d;

        span:last-child {
          font-size: 0.3rem;
        }
      }
    }
  }
}
